[INFO] cloning repository https://github.com/huhlig/metrics-exporter-timescaledb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/huhlig/metrics-exporter-timescaledb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuhlig%2Fmetrics-exporter-timescaledb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuhlig%2Fmetrics-exporter-timescaledb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cffbe473d705bc054f93787cccb1758f308d3276
[INFO] fixing huhlig/metrics-exporter-timescaledb against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuhlig%2Fmetrics-exporter-timescaledb" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/huhlig/metrics-exporter-timescaledb
[INFO] finished tweaking git repo https://github.com/huhlig/metrics-exporter-timescaledb
[INFO] tweaked toml for git repo https://github.com/huhlig/metrics-exporter-timescaledb written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/huhlig/metrics-exporter-timescaledb on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/huhlig/metrics-exporter-timescaledb already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f4fb5d7f62d0ce5282de357f3fdd03dde1c859824413e080035dcd1f1320d1bc
[INFO] running `Command { std: "docker" "start" "f4fb5d7f62d0ce5282de357f3fdd03dde1c859824413e080035dcd1f1320d1bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f4fb5d7f62d0ce5282de357f3fdd03dde1c859824413e080035dcd1f1320d1bc" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f4fb5d7f62d0ce5282de357f3fdd03dde1c859824413e080035dcd1f1320d1bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f4fb5d7f62d0ce5282de357f3fdd03dde1c859824413e080035dcd1f1320d1bc" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling cc v1.2.57
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling zerocopy v0.8.47
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling tinyvec v1.11.0
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling webpki-roots v1.0.6
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking http-range-header v0.4.2
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling utoipa-gen v4.3.1
[INFO] [stderr]    Compiling tokio v1.50.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking indexmap v2.13.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rustls-webpki v0.103.9
[INFO] [stderr]     Checking utoipa v4.2.3
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking sqlx-core v0.8.6
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking axum v0.8.8
[INFO] [stderr]     Checking sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking metrics-exporter v0.1.0 (/opt/rustwide/workdir/crates/metrics-exporter)
[INFO] [stderr]     Checking metrics-visualizer v0.1.0 (/opt/rustwide/workdir/crates/metrics-visualizer)
[INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future<Output = Result<Pool<Postgres>, sqlx::Error>>` in the current scope
[INFO] [stdout]   --> crates/metrics-exporter/tests/integration.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | /     PgPoolOptions::new()
[INFO] [stdout] 15 | |         .max_connections(5)
[INFO] [stdout] 16 | |         .connect(&database_url)
[INFO] [stdout] 17 | |         .expect("Failed to connect to test database")
[INFO] [stdout]    | |         -^^^^^^ method not found in `impl Future<Output = Result<Pool<Postgres>, sqlx::Error>>`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]    |
[INFO] [stdout] 17 |         .await.expect("Failed to connect to test database")
[INFO] [stdout]    |          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `insert` found for struct `TimescaleRepository` in the current scope
[INFO] [stdout]   --> crates/metrics-exporter/tests/integration.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 |     repo.insert(&metric).await.unwrap();
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: crates/metrics-exporter/src/repository.rs:6:14
[INFO] [stdout]    |
[INFO] [stdout]  6 |     async fn insert(&self, metric: &Metric) -> Result<(), Error>;
[INFO] [stdout]    |              ------ the method is available for `TimescaleRepository` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `MetricRepository` which provides `insert` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use metrics_exporter::MetricRepository;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `insert_batch` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 36 |     repo.insert_batch(&metric).await.unwrap();
[INFO] [stdout]    |                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `list` found for struct `TimescaleRepository` in the current scope
[INFO] [stdout]   --> crates/metrics-exporter/tests/integration.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let metrics = repo.list().await.unwrap();
[INFO] [stdout]    |                        ^^^^ method not found in `TimescaleRepository`
[INFO] [stdout]    |
[INFO] [stdout]   ::: crates/metrics-exporter/src/repository.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 |     async fn list(&self) -> Result<Vec<String>, Error>;
[INFO] [stdout]    |              ---- the method is available for `TimescaleRepository` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `MetricRepository` which provides `list` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use metrics_exporter::MetricRepository;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `insert_batch` found for struct `TimescaleRepository` in the current scope
[INFO] [stdout]   --> crates/metrics-exporter/tests/integration.rs:65:10
[INFO] [stdout]    |
[INFO] [stdout] 65 |     repo.insert_batch(&metrics).await.unwrap();
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: crates/metrics-exporter/src/repository.rs:7:14
[INFO] [stdout]    |
[INFO] [stdout]  7 |     async fn insert_batch(&self, metrics: &[Metric]) -> Result<(), Error>;
[INFO] [stdout]    |              ------------ the method is available for `TimescaleRepository` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `MetricRepository` which provides `insert_batch` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use metrics_exporter::MetricRepository;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `insert` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 65 -     repo.insert_batch(&metrics).await.unwrap();
[INFO] [stdout] 65 +     repo.insert(&metrics).await.unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `list` found for struct `TimescaleRepository` in the current scope
[INFO] [stdout]   --> crates/metrics-exporter/tests/integration.rs:67:21
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let list = repo.list().await.unwrap();
[INFO] [stdout]    |                     ^^^^ method not found in `TimescaleRepository`
[INFO] [stdout]    |
[INFO] [stdout]   ::: crates/metrics-exporter/src/repository.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 |     async fn list(&self) -> Result<Vec<String>, Error>;
[INFO] [stdout]    |              ---- the method is available for `TimescaleRepository` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `MetricRepository` which provides `list` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use metrics_exporter::MetricRepository;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `insert` found for struct `TimescaleRepository` in the current scope
[INFO] [stdout]   --> crates/metrics-exporter/tests/integration.rs:93:10
[INFO] [stdout]    |
[INFO] [stdout] 93 |     repo.insert(&metric).await.unwrap();
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: crates/metrics-exporter/src/repository.rs:6:14
[INFO] [stdout]    |
[INFO] [stdout]  6 |     async fn insert(&self, metric: &Metric) -> Result<(), Error>;
[INFO] [stdout]    |              ------ the method is available for `TimescaleRepository` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `MetricRepository` which provides `insert` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use metrics_exporter::MetricRepository;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `insert_batch` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 93 |     repo.insert_batch(&metric).await.unwrap();
[INFO] [stdout]    |                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `query` found for struct `TimescaleRepository` in the current scope
[INFO] [stdout]   --> crates/metrics-exporter/tests/integration.rs:96:10
[INFO] [stdout]    |
[INFO] [stdout] 95 |       let results = repo
[INFO] [stdout]    |  ___________________-
[INFO] [stdout] 96 | |         .query(
[INFO] [stdout]    | |         -^^^^^ method not found in `TimescaleRepository`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout]   ::: crates/metrics-exporter/src/repository.rs:8:14
[INFO] [stdout]    |
[INFO] [stdout]  8 |       async fn query(
[INFO] [stdout]    |                ----- the method is available for `TimescaleRepository` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `MetricRepository` which provides `query` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use metrics_exporter::MetricRepository;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `insert` found for struct `TimescaleRepository` in the current scope
[INFO] [stdout]    --> crates/metrics-exporter/tests/integration.rs:126:10
[INFO] [stdout]     |
[INFO] [stdout] 126 |     repo.insert(&metric).await.unwrap();
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: crates/metrics-exporter/src/repository.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout]   6 |     async fn insert(&self, metric: &Metric) -> Result<(), Error>;
[INFO] [stdout]     |              ------ the method is available for `TimescaleRepository` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `MetricRepository` which provides `insert` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use metrics_exporter::MetricRepository;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `insert_batch` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 126 |     repo.insert_batch(&metric).await.unwrap();
[INFO] [stdout]     |                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `query` found for struct `TimescaleRepository` in the current scope
[INFO] [stdout]    --> crates/metrics-exporter/tests/integration.rs:129:10
[INFO] [stdout]     |
[INFO] [stdout] 128 |       let all = repo
[INFO] [stdout]     |  _______________-
[INFO] [stdout] 129 | |         .query(
[INFO] [stdout]     | |         -^^^^^ method not found in `TimescaleRepository`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]    ::: crates/metrics-exporter/src/repository.rs:8:14
[INFO] [stdout]     |
[INFO] [stdout]   8 |       async fn query(
[INFO] [stdout]     |                ----- the method is available for `TimescaleRepository` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `MetricRepository` which provides `query` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use metrics_exporter::MetricRepository;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get` found for struct `TimescaleRepository` in the current scope
[INFO] [stdout]    --> crates/metrics-exporter/tests/integration.rs:139:34
[INFO] [stdout]     |
[INFO] [stdout] 139 |             let retrieved = repo.get(id).await.unwrap();
[INFO] [stdout]     |                                  ^^^ method not found in `TimescaleRepository`
[INFO] [stdout]     |
[INFO] [stdout]    ::: crates/metrics-exporter/src/repository.rs:15:14
[INFO] [stdout]     |
[INFO] [stdout]  15 |     async fn get(&self, id: i64) -> Result<Option<Metric>, Error>;
[INFO] [stdout]     |              --- the method is available for `TimescaleRepository` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `MetricRepository` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use metrics_exporter::MetricRepository;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `insert` found for struct `TimescaleRepository` in the current scope
[INFO] [stdout]    --> crates/metrics-exporter/tests/integration.rs:164:10
[INFO] [stdout]     |
[INFO] [stdout] 164 |     repo.insert(&metric).await.unwrap();
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: crates/metrics-exporter/src/repository.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout]   6 |     async fn insert(&self, metric: &Metric) -> Result<(), Error>;
[INFO] [stdout]     |              ------ the method is available for `TimescaleRepository` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `MetricRepository` which provides `insert` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use metrics_exporter::MetricRepository;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `insert_batch` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 164 |     repo.insert_batch(&metric).await.unwrap();
[INFO] [stdout]     |                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `query` found for struct `TimescaleRepository` in the current scope
[INFO] [stdout]    --> crates/metrics-exporter/tests/integration.rs:167:10
[INFO] [stdout]     |
[INFO] [stdout] 166 |       let all = repo
[INFO] [stdout]     |  _______________-
[INFO] [stdout] 167 | |         .query(
[INFO] [stdout]     | |         -^^^^^ method not found in `TimescaleRepository`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]    ::: crates/metrics-exporter/src/repository.rs:8:14
[INFO] [stdout]     |
[INFO] [stdout]   8 |       async fn query(
[INFO] [stdout]     |                ----- the method is available for `TimescaleRepository` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `MetricRepository` which provides `query` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use metrics_exporter::MetricRepository;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `delete` found for struct `TimescaleRepository` in the current scope
[INFO] [stdout]    --> crates/metrics-exporter/tests/integration.rs:177:18
[INFO] [stdout]     |
[INFO] [stdout] 177 |             repo.delete(id).await.unwrap();
[INFO] [stdout]     |                  ^^^^^^ method not found in `TimescaleRepository`
[INFO] [stdout]     |
[INFO] [stdout]    ::: crates/metrics-exporter/src/repository.rs:17:14
[INFO] [stdout]     |
[INFO] [stdout]  17 |     async fn delete(&self, id: i64) -> Result<(), Error>;
[INFO] [stdout]     |              ------ the method is available for `TimescaleRepository` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `MetricRepository` which provides `delete` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use metrics_exporter::MetricRepository;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get` found for struct `TimescaleRepository` in the current scope
[INFO] [stdout]    --> crates/metrics-exporter/tests/integration.rs:179:37
[INFO] [stdout]     |
[INFO] [stdout] 179 |             let after_delete = repo.get(id).await.unwrap();
[INFO] [stdout]     |                                     ^^^ method not found in `TimescaleRepository`
[INFO] [stdout]     |
[INFO] [stdout]    ::: crates/metrics-exporter/src/repository.rs:15:14
[INFO] [stdout]     |
[INFO] [stdout]  15 |     async fn get(&self, id: i64) -> Result<Option<Metric>, Error>;
[INFO] [stdout]     |              --- the method is available for `TimescaleRepository` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `MetricRepository` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use metrics_exporter::MetricRepository;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `insert` found for struct `TimescaleRepository` in the current scope
[INFO] [stdout]    --> crates/metrics-exporter/tests/integration.rs:198:10
[INFO] [stdout]     |
[INFO] [stdout] 198 |     repo.insert(&metric).await.unwrap();
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: crates/metrics-exporter/src/repository.rs:6:14
[INFO] [stdout]     |
[INFO] [stdout]   6 |     async fn insert(&self, metric: &Metric) -> Result<(), Error>;
[INFO] [stdout]     |              ------ the method is available for `TimescaleRepository` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `MetricRepository` which provides `insert` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use metrics_exporter::MetricRepository;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `insert_batch` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 198 |     repo.insert_batch(&metric).await.unwrap();
[INFO] [stdout]     |                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `query` found for struct `TimescaleRepository` in the current scope
[INFO] [stdout]    --> crates/metrics-exporter/tests/integration.rs:201:10
[INFO] [stdout]     |
[INFO] [stdout] 200 |       let all = repo
[INFO] [stdout]     |  _______________-
[INFO] [stdout] 201 | |         .query(
[INFO] [stdout]     | |         -^^^^^ method not found in `TimescaleRepository`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]    ::: crates/metrics-exporter/src/repository.rs:8:14
[INFO] [stdout]     |
[INFO] [stdout]   8 |       async fn query(
[INFO] [stdout]     |                ----- the method is available for `TimescaleRepository` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `MetricRepository` which provides `query` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use metrics_exporter::MetricRepository;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `update` found for struct `TimescaleRepository` in the current scope
[INFO] [stdout]    --> crates/metrics-exporter/tests/integration.rs:211:14
[INFO] [stdout]     |
[INFO] [stdout] 211 |         repo.update(&to_update).await.unwrap();
[INFO] [stdout]     |              ^^^^^^ method not found in `TimescaleRepository`
[INFO] [stdout]     |
[INFO] [stdout]    ::: crates/metrics-exporter/src/repository.rs:16:14
[INFO] [stdout]     |
[INFO] [stdout]  16 |     async fn update(&self, metric: &Metric) -> Result<(), Error>;
[INFO] [stdout]     |              ------ the method is available for `TimescaleRepository` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `MetricRepository` which provides `update` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use metrics_exporter::MetricRepository;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `query` found for struct `TimescaleRepository` in the current scope
[INFO] [stdout]    --> crates/metrics-exporter/tests/integration.rs:214:14
[INFO] [stdout]     |
[INFO] [stdout] 213 |           let updated = repo
[INFO] [stdout]     |  _______________________-
[INFO] [stdout] 214 | |             .query(
[INFO] [stdout]     | |             -^^^^^ method not found in `TimescaleRepository`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]    ::: crates/metrics-exporter/src/repository.rs:8:14
[INFO] [stdout]     |
[INFO] [stdout]   8 |       async fn query(
[INFO] [stdout]     |                ----- the method is available for `TimescaleRepository` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `MetricRepository` which provides `query` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use metrics_exporter::MetricRepository;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `f64` cannot be dereferenced
[INFO] [stdout]    --> crates/metrics-exporter/tests/integration.rs:224:28
[INFO] [stdout]     |
[INFO] [stdout] 224 |                 assert_eq!(*val, 20.0);
[INFO] [stdout]     |                            ^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0614.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `metrics-exporter` (test "integration") due to 19 previous errors
[INFO] running `Command { std: "docker" "inspect" "f4fb5d7f62d0ce5282de357f3fdd03dde1c859824413e080035dcd1f1320d1bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4fb5d7f62d0ce5282de357f3fdd03dde1c859824413e080035dcd1f1320d1bc", kill_on_drop: false }`
[INFO] [stdout] f4fb5d7f62d0ce5282de357f3fdd03dde1c859824413e080035dcd1f1320d1bc
